package com.example.server.service.impl;

import com.example.server.entity.User;
import com.example.server.repository.GenericRepository;
import com.example.server.service.GenericService;
import com.example.server.service.UserService;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl extends GenericServiceImpl<User,Integer> implements UserService {

    @Autowired
    @Override
    public void setGenericRepository(GenericRepository<User, Integer> genericRepository) {
        super.genericRepository = genericRepository;
    }
}
